package com.zmn.oms.common.dto;

import com.zmn.oms.common.constant.OrderConsts;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 产品代码味精dto
 * 品码对接消息DTO
 *
 * @author chengguang
 * @date 2022/08/22
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ProductCodeMsgDTO implements Serializable {

    private static final long serialVersionUID = 779101228152009719L;

    /**
     * 渠道单号
     */
    private String outerId;

    /**
     * 工单id
     */
    private Long workId;

    /**
     * 退款金额
     */
    private Integer refundAmount;

    /**
     * 退款原因
     */
    private String refundRemark;

    /**
     * 退款流水号
     */
    private String refundOutTradeNo;

    /**
     * 退款方式
     * 1 线上退款，2 线下退款
     * @see OrderConsts#ORDER_REFUND_TYPE_ONLINE
     */
    private Integer refundType;

    /**
     * 产品id
     */
    private Integer productId;

    /**
     * 应收总额
     */
    private Integer totalAmount;

}